package com.hamilton.erik.pt.core.dao;

import java.sql.SQLException;
import java.util.List;

import com.hamilton.erik.pt.core.model.MedicalRecord;

public interface MedicalRecordDAO {

	public int insertMedicalRecord(MedicalRecord medicalRecord) throws SQLException;
	public boolean deleteMedicalRecord(Long medicalRecordId) throws SQLException;
	public MedicalRecord findMedicalRecord(MedicalRecord medicalRecord) throws SQLException;
	public int updateMedicalRecord(MedicalRecord medicalRecord) throws SQLException;
	
	public List<MedicalRecord> getAllMedicalRecords(Long animalId) throws SQLException;
	public boolean deleteAllMedicalRecords(Long animalId) throws SQLException;

}
